package com.liutao.controller;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.*;

/**
 * Created by liutao on 2015/8/27.
 */
@RestController
public class UserController {

    private Logger logger = LoggerFactory.getLogger(UserController.class);

    @GetMapping(value = "/userInfo")
    @ResponseBody
    public String getUserInfo() {
        return "OK";
    }
    
    @GetMapping(value = "/")
    @ResponseBody
    public String index() {
        return "Index";
    }
}
